﻿using System.Collections.Generic;
using BKO.Domain.Model;

namespace BKO.Domain.Services
{
	public interface ITUserService
	{
		ITUser Get(int id);
		List<ITUser> GetAllUsers();
		ITUser AddUser(string userId, string password, string name, string level,
			bool setup = false, bool pcAdd = false, bool pcDel = false, bool capAdd = false,
			bool capDel = false, bool repAdd = false, bool repDel = false, bool repEd = false,
			bool poAdd = false, bool poDel = false, bool po = false, bool cartr = false, bool sclad = false);
		void UpdateUser(int id, string userId, string password, string name, string level,
			bool setup, bool pcAdd, bool pcDel, bool capAdd, bool capDel, bool repAdd, bool repDel,
			bool repEd, bool poAdd, bool poDel, bool po, bool cartr, bool sclad);
		ITUser GetUserByName(string name);
		void DeleteUser(int id);
	}
}
